home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _84FD15C167124FB395AA59D69727AA2D < prev    next >
Encoding:
Text File  |  2002-04-14  |  8.1 KB  |  435 lines

  1. {
  2.     \\ INGAME_JOIN MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name            "ingame_radio"
  7.         visible            0
  8.         fullScreen        0
  9.         rect            -100 0 640 480
  10.         focusColor        1 .85 0 1
  11.         disablecolor    .12 .14 .08 .5
  12.  
  13.         onOpen
  14.         {
  15.         }
  16.  
  17.         onClose
  18.         {
  19.             exec    "ui_team 1";
  20.         }
  21.  
  22.         onESC
  23.         {
  24.             exec  "ui_team 1" ;
  25.         }
  26.  
  27.         ////////////////////////////////////////////////////////////////////////
  28.         //  Dialog frame
  29.         ////////////////////////////////////////////////////////////////////////
  30.  
  31.         itemDef
  32.         {
  33.             name        window
  34.             style        WINDOW_STYLE_SHADER
  35.             rect        130 70 220 250
  36.             background    "gfx/menus/ingame/background.png"
  37.             backcolor    1 1 1 1
  38.             visible        1
  39.             decoration
  40.         }
  41.  
  42.         itemDef
  43.         {
  44.             name        window
  45.             style        WINDOW_STYLE_SHADER
  46.             rect        124 65 8 8
  47.             background    "gfx/menus/ingame/frame_topleft.png"
  48.             visible        1
  49.             decoration
  50.         }
  51.  
  52.         itemDef
  53.         {
  54.             name        window
  55.             style        WINDOW_STYLE_SHADER
  56.             rect        130 65 220 8
  57.             background    "gfx/menus/ingame/frame_top.png"
  58.             visible        1
  59.             decoration
  60.         }
  61.  
  62.         itemDef
  63.         {
  64.             name        window
  65.             style        WINDOW_STYLE_SHADER
  66.             rect        350 65 8 8
  67.             background    "gfx/menus/ingame/frame_topright.png"
  68.             visible        1
  69.             decoration
  70.         }
  71.  
  72.         itemDef
  73.         {
  74.             name        window
  75.             style        WINDOW_STYLE_SHADER
  76.             rect        124 320 8 8
  77.             background    "gfx/menus/ingame/frame_bottomleft.png"
  78.             visible        1
  79.             decoration
  80.         }
  81.  
  82.         itemDef
  83.         {
  84.             name        window
  85.             style        WINDOW_STYLE_SHADER
  86.             rect        130 320 220 8
  87.             background    "gfx/menus/ingame/frame_bottom.png"
  88.             visible        1
  89.             decoration
  90.         }
  91.  
  92.         itemDef
  93.         {
  94.             name        window
  95.             style        WINDOW_STYLE_SHADER
  96.             rect        350 320 8 8
  97.             background    "gfx/menus/ingame/frame_bottomright.png"
  98.             visible        1
  99.             decoration
  100.         }
  101.  
  102.         itemDef
  103.         {
  104.             name        window
  105.             style        WINDOW_STYLE_SHADER
  106.             rect        350 70 8 250
  107.             background    "gfx/menus/ingame/frame_right.png"
  108.             visible        1
  109.             decoration
  110.         }
  111.  
  112.         itemDef
  113.         {
  114.             name        window
  115.             style        WINDOW_STYLE_SHADER
  116.             rect        124 70 8 250
  117.             background    "gfx/menus/ingame/frame_left.png"
  118.             visible        1
  119.             decoration
  120.         }
  121.  
  122.         ////////////////////////////////////////////////////////////////////////
  123.         //  Title
  124.         ////////////////////////////////////////////////////////////////////////
  125.         itemDef
  126.         {
  127.             style        WINDOW_STYLE_FILLED
  128.             rect        130 70 218 30
  129.             forecolor    0 0 0 1
  130.             backcolor    0 0 0 .25
  131.             visible        1
  132.             border        1
  133.             bordercolor    0 0 0 1
  134.  
  135.             textalignx    110
  136.             textaligny    6
  137.             textalign    1
  138.             textfont    "hud"
  139.             textscale    .63
  140.             text        "RADIO"
  141.         }
  142.  
  143.         ///////////////////////////////////////////////////////////////////////
  144.         // BUTTONS
  145.         ///////////////////////////////////////////////////////////////////////
  146.         itemDef
  147.         {
  148.             name        radio1_button
  149.             type        ITEM_TYPE_BUTTON
  150.             rect        150    120 100 20
  151.             text        "1. Affirmative!"
  152.             hotkey        "1"
  153.             visible        1
  154.  
  155.             textfont    "hud"
  156.             textscale    .53
  157.  
  158.             forecolor    0 0 0 1
  159.  
  160.             action
  161.             {
  162.                 close ingame_radio ;
  163.                 exec "cmd vsay_team affirmative"
  164.             }
  165.             mouseEnter 
  166.             { 
  167.                 play "sound/misc/menus/hilite1.wav" ; 
  168.                 setitemcolor radio1_button backcolor .12 .14 .08 1
  169.                 setitemcolor radio1_button forecolor .49 .56 .27 1
  170.             }                 
  171.             mouseExit 
  172.             { 
  173.                 setitemcolor radio1_button backcolor 0 0 0 0
  174.                 setitemcolor radio1_button forecolor 0 0 0 1
  175.             }
  176.         }
  177.  
  178.         itemDef
  179.         {
  180.             name        radio2_button
  181.             type        ITEM_TYPE_BUTTON
  182.             rect        150    140 100 20
  183.             text        "2. Negative!"
  184.             hotkey        "2"
  185.             visible        1
  186.  
  187.             textfont    "hud"
  188.             textscale    .53
  189.  
  190.             forecolor    0 0 0 1
  191.  
  192.             action
  193.             {
  194.                 close ingame_radio ;
  195.                 exec "cmd vsay_team negative"
  196.             }
  197.             mouseEnter 
  198.             { 
  199.                 play "sound/misc/menus/hilite1.wav" ; 
  200.                 setitemcolor radio2_button backcolor .12 .14 .08 1
  201.                 setitemcolor radio2_button forecolor .49 .56 .27 1
  202.             }                 
  203.             mouseExit 
  204.             { 
  205.                 setitemcolor radio3_button backcolor 0 0 0 0
  206.                 setitemcolor radio3_button forecolor 0 0 0 1
  207.             }
  208.         }
  209.  
  210.         itemDef
  211.         {
  212.             name        radio3_button
  213.             type        ITEM_TYPE_BUTTON
  214.             rect        150    160 100 20
  215.             text        "3. Clear!"
  216.             hotkey        "3"
  217.             visible        1
  218.  
  219.             textfont    "hud"
  220.             textscale    .53
  221.  
  222.             forecolor    0 0 0 1
  223.  
  224.             action
  225.             {
  226.                 close ingame_radio ;
  227.                 exec "cmd vsay_team clear"
  228.             }
  229.             mouseEnter 
  230.             { 
  231.                 play "sound/misc/menus/hilite1.wav" ; 
  232.                 setitemcolor radio3_button backcolor .12 .14 .08 1
  233.                 setitemcolor radio3_button forecolor .49 .56 .27 1
  234.             }                 
  235.             mouseExit 
  236.             { 
  237.                 setitemcolor radio3_button backcolor 0 0 0 0
  238.                 setitemcolor radio3_button forecolor 0 0 0 1
  239.             }
  240.         }
  241.  
  242.         itemDef
  243.         {
  244.             name        radio3_button
  245.             type        ITEM_TYPE_BUTTON
  246.             rect        150    180 100 20
  247.             text        "4. Cover me!"
  248.             hotkey        "4"
  249.             visible        1
  250.  
  251.             textfont    "hud"
  252.             textscale    .53
  253.  
  254.             forecolor    0 0 0 1
  255.  
  256.             action
  257.             {
  258.                 close ingame_radio ;
  259.                 exec "cmd vsay_team cover_me"
  260.             }
  261.             mouseEnter 
  262.             { 
  263.                 play "sound/misc/menus/hilite1.wav" ; 
  264.                 setitemcolor radio4_button backcolor .12 .14 .08 1
  265.                 setitemcolor radio4_button forecolor .49 .56 .27 1
  266.             }                 
  267.             mouseExit 
  268.             { 
  269.                 setitemcolor radio4_button backcolor 0 0 0 0
  270.                 setitemcolor radio4_button forecolor 0 0 0 1
  271.             }
  272.         }
  273.  
  274.         itemDef
  275.         {
  276.             name        radio4_button
  277.             type        ITEM_TYPE_BUTTON
  278.             rect        150    200 100 20
  279.             text        "5. Got him!"
  280.             hotkey        "5"
  281.             visible        1
  282.  
  283.             textfont    "hud"
  284.             textscale    .53
  285.  
  286.             forecolor    0 0 0 1
  287.  
  288.             action
  289.             {
  290.                 close ingame_radio ;
  291.                 exec "cmd vsay_team got_him"
  292.             }
  293.             mouseEnter 
  294.             { 
  295.                 play "sound/misc/menus/hilite1.wav" ; 
  296.                 setitemcolor radio5_button backcolor .12 .14 .08 1
  297.                 setitemcolor radio5_button forecolor .49 .56 .27 1
  298.             }                 
  299.             mouseExit 
  300.             { 
  301.                 setitemcolor radio5_button backcolor 0 0 0 0
  302.                 setitemcolor radio5_button forecolor 0 0 0 1
  303.             }
  304.         }
  305.  
  306.         itemDef
  307.         {
  308.             name        radio6_button
  309.             type        ITEM_TYPE_BUTTON
  310.             rect        150    220 100 20
  311.             text        "6. Hold position!"
  312.             hotkey        "6"
  313.             visible        1
  314.  
  315.             textfont    "hud"
  316.             textscale    .53
  317.  
  318.             forecolor    0 0 0 1
  319.  
  320.             action
  321.             {
  322.                 close ingame_radio ;
  323.                 exec "cmd vsay_team hold_position"
  324.             }
  325.             mouseEnter 
  326.             { 
  327.                 play "sound/misc/menus/hilite1.wav" ; 
  328.                 setitemcolor radio6_button backcolor .12 .14 .08 1
  329.                 setitemcolor radio6_button forecolor .49 .56 .27 1
  330.             }                 
  331.             mouseExit 
  332.             { 
  333.                 setitemcolor radio6_button backcolor 0 0 0 0
  334.                 setitemcolor radio6_button forecolor 0 0 0 1
  335.             }
  336.         }
  337.  
  338.         itemDef
  339.         {
  340.             name        radio7_button
  341.             type        ITEM_TYPE_BUTTON
  342.             rect        150    240 100 20
  343.             text        "7. Man down!"
  344.             hotkey        "7"
  345.             visible        1
  346.  
  347.             textfont    "hud"
  348.             textscale    .53
  349.  
  350.             forecolor    0 0 0 1
  351.  
  352.             action
  353.             {
  354.                 close ingame_radio ;
  355.                 exec "cmd vsay_team man_down"
  356.             }
  357.             mouseEnter 
  358.             { 
  359.                 play "sound/misc/menus/hilite1.wav" ; 
  360.                 setitemcolor radio7_button backcolor .12 .14 .08 1
  361.                 setitemcolor radio7_button forecolor .49 .56 .27 1
  362.             }                 
  363.             mouseExit 
  364.             { 
  365.                 setitemcolor radio7_button backcolor 0 0 0 0
  366.                 setitemcolor radio7_button forecolor 0 0 0 1
  367.             }
  368.         }
  369.  
  370.         itemDef
  371.         {
  372.             name        radio8_button
  373.             type        ITEM_TYPE_BUTTON
  374.             rect        150    260 100 20
  375.             text        "8. Need backup!"
  376.             hotkey        "8"
  377.             visible        1
  378.  
  379.             textfont    "hud"
  380.             textscale    .53
  381.  
  382.             forecolor    0 0 0 1
  383.  
  384.             action
  385.             {
  386.                 close ingame_radio ;
  387.                 exec "cmd vsay_team need_backup"
  388.             }
  389.             mouseEnter 
  390.             { 
  391.                 play "sound/misc/menus/hilite1.wav" ; 
  392.                 setitemcolor radio8_button backcolor .12 .14 .08 1
  393.                 setitemcolor radio8_button forecolor .49 .56 .27 1
  394.             }                 
  395.             mouseExit 
  396.             { 
  397.                 setitemcolor radio8_button backcolor 0 0 0 0
  398.                 setitemcolor radio8_button forecolor 0 0 0 1
  399.             }
  400.         }
  401.  
  402.         itemDef
  403.         {
  404.             name        radio9_button
  405.             type        ITEM_TYPE_BUTTON
  406.             rect        150    280 100 20
  407.             text        "9. Take cover!"
  408.             hotkey        "9"
  409.             visible        1
  410.  
  411.             textfont    "hud"
  412.             textscale    .53
  413.  
  414.             forecolor    0 0 0 1
  415.  
  416.             action
  417.             {
  418.                 close ingame_radio ;
  419.                 exec "cmd vsay_team take_cover"
  420.             }
  421.             mouseEnter 
  422.             { 
  423.                 play "sound/misc/menus/hilite1.wav" ; 
  424.                 setitemcolor radio9_button backcolor .12 .14 .08 1
  425.                 setitemcolor radio9_button forecolor .49 .56 .27 1
  426.             }                 
  427.             mouseExit 
  428.             { 
  429.                 setitemcolor radio9_button backcolor 0 0 0 0
  430.                 setitemcolor radio9_button forecolor 0 0 0 1
  431.             }
  432.         }
  433.     }
  434. }
  435.